package code.google.model.groove.json.request;

import code.google.model.groove.GrooveClient;
import code.google.model.groove.json.request.header.ResultsFromSearchRequestHeader;
import code.google.model.groove.json.request.parameter.ResultsFromSearchParameters;
import code.google.model.groove.util.GrooveConstants;

public class ResultsFromSearchRequest implements IGrooveRequest {
	
	private ResultsFromSearchRequestHeader header;
	private String method = GrooveConstants.METHOD_SEARCH_REQUEST;
	private ResultsFromSearchParameters parameters;
	
	public ResultsFromSearchRequest(GrooveClient client, String query){
		header = new ResultsFromSearchRequestHeader(client, method);
		parameters = new ResultsFromSearchParameters(query);
	}

	@Override
	public String getMethod() {
		return method;
	}

	@Override
	public boolean isHTTPS() {
		return false;
	}

}
